package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.Salary;

/**
 * salaryMapper接口
 * 
 * @author ruoyi
 * @date 2023-10-13
 */
public interface SalaryMapper 
{
    /**
     * 查询salary
     * 
     * @param id salary主键
     * @return salary
     */
    public Salary selectSalaryById(Long id);

    /**
     * 查询salary列表
     * 
     * @param salary salary
     * @return salary集合
     */
    public List<Salary> selectSalaryList(Salary salary);

    /**
     * 新增salary
     * 
     * @param salary salary
     * @return 结果
     */
    public int insertSalary(Salary salary);

    /**
     * 修改salary
     * 
     * @param salary salary
     * @return 结果
     */
    public int updateSalary(Salary salary);

    /**
     * 删除salary
     * 
     * @param id salary主键
     * @return 结果
     */
    public int deleteSalaryById(Long id);

    /**
     * 批量删除salary
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSalaryByIds(Long[] ids);
}
